package model

/*
金标读数仪 样品信息字段表
*/
type Sample_bean_mfdcg struct {
	// gorm.Model
	ID            int64   `gorm:"column:id"`             // 样品id
	SampleCode    string  `gorm:"column:sampleCode"`     // 样品编号
	SampleName    string  `gorm:"column:sampleName"`     // 样品名称
	RelateProject string  `gorm:"column:relatedProject"` // 所属项目
	Limit         string  `gorm:"column:limit"`          // 灵敏度 检测限值
	PreI1         uint    `gorm:"column:preI1"`          //预留字段
	PreF1         float32 `gorm:"column:preF1"`          //预留字段
	PreStr1       string  `gorm:"column:preStr1"`        //预留字段  检测标准
}

/*
金标读数仪 项目信息字段表
*/
type Project_bean_mfdcg struct {
	// gorm.Model
	ID           int64   `gorm:"column:id"`           // 样品id
	ProjectName  string  `gorm:"column:projectName"`  // 项目编号
	ProjectType  int     `gorm:"column:projectType"`  //项目类型
	TestMethod   int     `gorm:"column:testMethod"`   // 检测方法
	JudgeThresh  float64 `gorm:"column:judgeThresh"`  // 判定标准
	Unint        string  `gorm:"column:unit"`         // 项目编号
	Limit        string  `gorm:"column:limit"`        // limit
	UpperLimit   float64 `gorm:"column:upperLimit"`   // 上限
	LowerLimit   float64 `gorm:"column:lowerLimit"`   // 下限
	CurveTc      string  `gorm:"column:curveTc"`      // 曲线
	CurveDensity string  `gorm:"column:curveDensity"` // 曲线
	QrcodeStr    string  `gorm:"column:qrcodeStr"`    //二维码
}

// 胶体金多联卡项目
type Union_project_bean_mfdcg struct {
	// gorm.Model
	ID           int64  `gorm:"column:id"`           // id
	QrStrs       string `gorm:"column:qrStrs"`       // 二维码组合
	UnisonString string `gorm:"column:UnisonString"` // 名称组合
	UnionType    int    `gorm:"column:unionType"`    // 卡类型 x联卡
}

type ChannelRegion_1UnionBean struct { // 单联卡校准区域
	// gorm.Model

	ID        uint   `gorm:"column:id"` // id编号
	Left1     uint   `gorm:"column:left1"`
	Right1    uint   `gorm:"column:right1"`
	Top1      uint   `gorm:"column:top1"`
	Bottom1   uint   `gorm:"column:bottom1"`
	BgFactors string `gorm:"column:bgFactors"`
}

type ChannelRegion_1SpecUnionBean struct { // 左侧单联卡校准区域
	// gorm.Model

	ID        uint   `gorm:"column:id"` // id编号
	Left1     uint   `gorm:"column:left1"`
	Right1    uint   `gorm:"column:right1"`
	Top1      uint   `gorm:"column:top1"`
	Bottom1   uint   `gorm:"column:bottom1"`
	BgFactors string `gorm:"column:bgFactors"`
}

type ChannelRegionSpecUnionBean struct { // 裸条校准区域
	// gorm.Model

	ID        uint   `gorm:"column:id"` // id编号
	Left1     uint   `gorm:"column:left1"`
	Right1    uint   `gorm:"column:right1"`
	Top1      uint   `gorm:"column:top1"`
	Bottom1   uint   `gorm:"column:bottom1"`
	BgFactors string `gorm:"column:bgFactors"`
}
type ChannelRegion_2UnionBean struct {
	// gorm.Model

	ID        uint   `gorm:"column:id"` // id编号
	Left1     uint   `gorm:"column:left1"`
	Right1    uint   `gorm:"column:right1"`
	Top1      uint   `gorm:"column:top1"`
	Bottom1   uint   `gorm:"column:bottom1"`
	BgFactors string `gorm:"column:bgFactors"`

	Left2      uint   `gorm:"column:left2"`
	Right2     uint   `gorm:"column:right2"`
	Top2       uint   `gorm:"column:top2"`
	Bottom2    uint   `gorm:"column:bottom2"`
	BgFactors2 string `gorm:"column:bgFactors2"`
}

type ChannelRegion_3UnionBean struct {
	// gorm.Model

	ID        uint   `gorm:"column:id"` // id编号
	Left1     uint   `gorm:"column:left1"`
	Right1    uint   `gorm:"column:right1"`
	Top1      uint   `gorm:"column:top1"`
	Bottom1   uint   `gorm:"column:bottom1"`
	BgFactors string `gorm:"column:bgFactors"`

	Left2      uint   `gorm:"column:left2"`
	Right2     uint   `gorm:"column:right2"`
	Top2       uint   `gorm:"column:top2"`
	Bottom2    uint   `gorm:"column:bottom2"`
	BgFactors2 string `gorm:"column:bgFactors2"`

	Left3      uint   `gorm:"column:left3"`
	Right3     uint   `gorm:"column:right3"`
	Top3       uint   `gorm:"column:top3"`
	Bottom3    uint   `gorm:"column:bottom3"`
	BgFactors3 string `gorm:"column:bgFactors3"`
}

type ChannelRegion_4UnionBean struct {
	// gorm.Model

	ID        uint   `gorm:"column:id"` // id编号
	Left1     uint   `gorm:"column:left1"`
	Right1    uint   `gorm:"column:right1"`
	Top1      uint   `gorm:"column:top1"`
	Bottom1   uint   `gorm:"column:bottom1"`
	BgFactors string `gorm:"column:bgFactors"`

	Left2      uint   `gorm:"column:left2"`
	Right2     uint   `gorm:"column:right2"`
	Top2       uint   `gorm:"column:top2"`
	Bottom2    uint   `gorm:"column:bottom2"`
	BgFactors2 string `gorm:"column:bgFactors2"`

	Left3      uint   `gorm:"column:left3"`
	Right3     uint   `gorm:"column:right3"`
	Top3       uint   `gorm:"column:top3"`
	Bottom3    uint   `gorm:"column:bottom3"`
	BgFactors3 string `gorm:"column:bgFactors3"`

	Left4      uint   `gorm:"column:left4"`
	Right4     uint   `gorm:"column:right4"`
	Top4       uint   `gorm:"column:top4"`
	Bottom4    uint   `gorm:"column:bottom4"`
	BgFactors4 string `gorm:"column:bgFactors4"`
}
